package com.ecloud.hbase.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.apache.hadoop.hbase.util.Bytes;

/**
 * @author Squbi
 */
@Data
@AllArgsConstructor
public class HbaseCellData {
    private long timestamp;
    private byte[] family;
    private byte[] qualifier;
    private byte[] value;

    @Override
    public String toString() {
        return "HbaseCellData{" +
                "timestamp=" + timestamp +
                ", family=" + Bytes.toString(family) +
                ", qualifier=" + Bytes.toString(qualifier) +
                ", value=" + Bytes.toString(value) +
                '}';
    }
}
